約 5,901,392 件
https://w.atwiki.jp/android-reference/pages/18.html
A B コメント A AbortableHttpRequest 基礎的なHTTP接続を停止することで強制終了させることが出来るHTTP要求を表すインターフェース. Interface representing an HTTP request that can be aborted by shutting down the underlying HTTP connection. AbsListView Base class that can be used to implement virtualized lists of items. AbsListView.LayoutParams AbsListView extends LayoutParams to provide a place to hold the view type. AbsListView.OnScrollListener Interface definition for a callback to be invoked when the list or grid has been scrolled. AbsListView.RecyclerListener A RecyclerListener is used to receive a notification whenever a View is placed inside the RecycleBin s scrap heap. AbsoluteLayout This class is deprecated. Use FrameLayout, RelativeLayout or a custom layout instead. AbsoluteLayout.LayoutParams Per-child layout information associated with AbsoluteLayout. AbsoluteSizeSpan AbsSavedState A Parcelable implementation that should be used by inheritance hierarchies to ensure the state of all classes along the chain is saved. AbsSeekBar AbsSpinner An abstract base class for spinner widgets. AbstractAuthenticationHandler AbstractClientConnAdapter Abstract adapter from operated to managed client connections. AbstractCollection E Class AbstractCollection is an abstract implementation of the Collection interface. AbstractConnPool An abstract connection pool. AbstractCookieAttributeHandler AbstractCookieSpec Abstract cookie specification which can delegate the job of parsing, validation or matching cookie attributes to a number of arbitrary CookieAttributeHandlers. AbstractCursor This is an abstract cursor class that handles a lot of the common code that all cursors need to deal with and is provided for convenience reasons. AbstractCursor.SelfContentObserver Cursors use this class to track changes others make to their URI. AbstractExecutorService Provides default implementation of ExecutorService execution methods. AbstractHttpClient Convenience base class for HTTP client implementations. AbstractHttpClientConnection Abstract client-side HTTP connection capable of transmitting and receiving data using arbitrary SessionInputBuffer and SessionOutputBuffer AbstractHttpEntity Abstract base class for entities. AbstractHttpMessage Basic implementation of an HTTP message that can be modified. AbstractHttpParams Abstract base class for parameter collections. AbstractHttpServerConnection Abstract server-side HTTP connection capable of transmitting and receiving data using arbitrary SessionInputBuffer and SessionOutputBuffer AbstractInputMethodService AbstractInputMethodService provides a abstract base class for input methods. AbstractInputMethodService.AbstractInputMethodImpl Base class for derived classes to implement their InputMethod interface. AbstractInputMethodService.AbstractInputMethodSessionImpl Base class for derived classes to implement their InputMethodSession interface. AbstractInterruptibleChannelAbstractInterruptibleChannel is the root class for interruptible channels. AbstractList E AbstractList is an abstract implementation of the List interface, optimized for a backing store which supports random access. AbstractMap K, V This class is an abstract implementation of the Map interface. AbstractMessageParser Message parser base class. AbstractMessageWriter AbstractMethodError Thrown by the virtual machine when an abstract method is called. AbstractPooledConnAdapter Abstract adapter from pool entries to managed client connections. AbstractPoolEntry A pool entry for use by connection manager implementations. AbstractPreferences This abstract class is a partial implementation of the abstract class Preferences, which can be used to simplify Preferences provider s implementation. AbstractQueue E AbstractQueue is an abstract class which implements some of the methods in Queue. AbstractQueuedSynchronizer Provides a framework for implementing blocking locks and related synchronizers (semaphores, events, etc) that rely on first-in-first-out (FIFO) wait queues. AbstractQueuedSynchronizer.ConditionObject Condition implementation for a AbstractQueuedSynchronizer serving as the basis of a Lock implementation. AbstractSelectableChannel AbstractSelectableChannel is the base implementation class for selectable channels. AbstractSelectionKey AbstractSelectionKey is the base implementation class for selection keys. AbstractSelector AbstractSelector is the base implementation class for selectors. AbstractSequentialList E AbstractSequentialList is an abstract implementation of the List interface. AbstractSessionInputBuffer Abstract base class for session input buffers that stream data from a InputStream. AbstractSessionOutputBuffer Abstract base class for session output buffers that stream data to an OutputStream. AbstractSet E An AbstractSet is an abstract implementation of the Set interface. AbstractVerifier Abstract base class for all standard X509HostnameVerifier implementations. AbstractWindowedCursor A base class for Cursors that store their data in CursorWindows. AccelerateDecelerateInterpolator An interpolator where the rate of change starts and ends slowly but accelerates through the middle. AccelerateInterpolator An interpolator where the rate of change starts out slowly and and then accelerates. AccessControlContext AccessControlContext encapsulates the ProtectionDomains on which access control decisions are based. AccessControlException AccessControlException is thrown if the access control infrastructure denies protected access due to missing permissions. AccessController AccessController provides static methods to perform access control checks and privileged operations. AccessibilityEvent This class represents accessibility events that are sent by the system when something notable happens in the user interface. AccessibilityEventSource This interface is implemented by classes source of AccessibilityEvents. AccessibilityManager System level service that serves as an event dispatch for AccessibilityEvents. AccessibilityService An accessibility service runs in the background and receives callbacks by the system when AccessibilityEvents are fired. AccessibilityServiceInfo This class describes an AccessibilityService. AccessibleObject AccessibleObject is the superclass of all member reflection classes (Field, Constructor, Method). Acl The Access Control List (ACL) interface definition. AclEntry The Access Control List Entry interface definition. AclNotFoundException The exception, that is thrown when a reference to a non-existent Access Control List (ACL) is made. Activity An activity is a single, focused thing that the user can do. ActivityGroup A screen that contains and runs multiple embedded activities. ActivityInfo Information you can retrieve about a particular application activity or receiver. ActivityInstrumentationTestCase T extends Activity This class is deprecated. new tests should be written using ActivityInstrumentationTestCase2, which provides more options for configuring the Activity under test ActivityInstrumentationTestCase2 T extends Activity This class provides functional testing of a single activity. ActivityManager Interact with the overall activities running in the system. ActivityManager.MemoryInfo Information you can retrieve about the available memory through getMemoryInfo(ActivityManager.MemoryInfo). ActivityManager.ProcessErrorStateInfo Information you can retrieve about any processes that are in an error condition. ActivityManager.RecentTaskInfo Information you can retrieve about tasks that the user has most recently started or visited. ActivityManager.RunningAppProcessInfo Information you can retrieve about a running process. ActivityManager.RunningServiceInfo Information you can retrieve about a particular Service that is currently running in the system. ActivityManager.RunningTaskInfo Information you can retrieve about a particular task that is currently "running" in the system. ActivityNotFoundException This exception is thrown when a call to startActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent. ActivityTestCase This is common code used to support Activity test cases. ActivityUnitTestCase T extends Activity This class provides isolated testing of a single activity. Adapter An Adapter object acts as a bridge between an AdapterView and the underlying data for that view. AdapterView T extends Adapter An AdapterView is a view whose children are determined by an Adapter. AdapterView.AdapterContextMenuInfo Extra menu information provided to the onCreateContextMenu(ContextMenu, View, ContextMenuInfo) callback when a context menu is brought up for this AdapterView. AdapterView.OnItemClickListener Interface definition for a callback to be invoked when an item in this AdapterView has been clicked. AdapterView.OnItemLongClickListener Interface definition for a callback to be invoked when an item in this view has been clicked and held. AdapterView.OnItemSelectedListener Interface definition for a callback to be invoked when an item in this view has been selected. Address A class representing an Address, i.e, a set of Strings describing a location. Adler32 The Adler-32 class is used to compute the Adler32 checksum from a set of data. AlarmManager This class provides access to the system alarm services. AlertDialog A subclass of Dialog that can display one, two or three buttons. AlertDialog.Builder AlgorithmParameterGenerator AlgorithmParameterGenerator is an engine class which is capable of generating parameters for the algorithm it was initialized with. AlgorithmParameterGeneratorSpi AlgorithmParameterGeneratorSpi is the Service Provider Interface (SPI) definition for AlgorithmParameterGenerator. AlgorithmParameters AlgorithmParameters is an engine class which provides algorithm parameters. AlgorithmParameterSpec The marker interface for algorithm parameter specifications. AlgorithmParametersSpi AlgorithmParametersSpi is the Service Provider Interface (SPI) definition for AlgorithmParameters. AliasActivity Stub activity that launches another activity (and then finishes itself) based on information in its component s manifest meta-data. AlignmentSpan AlignmentSpan.Standard AllClientPNames Collected parameter names for the HttpClient module. AllocationLimitError Is thrown when an allocation limit is exceeded. AllowAllHostnameVerifier The ALLOW_ALL HostnameVerifier essentially turns hostname verification off. AllPermission AllPermission represents the permission to perform any operation. AlphaAnimation An animation that controls the alpha level of an object. AlphabetIndexer A helper class for adapters that implement the SectionIndexer interface. AlreadyConnectedException An AlreadyConnectedException is thrown when an attempt is made to connect a SocketChannel that is already connected. AlteredCharSequence An AlteredCharSequence is a CharSequence that is largely mirrored from another CharSequence, except that a specified range of characters are mirrored from a different char array instead. AnalogClock This widget display an analogic clock with two hands for hours and minutes. AndroidCharacter AndroidCharacter exposes some character properties that are not easily accessed from java.lang.Character. AndroidException Base class for all checked exceptions thrown by the Android frameworks. AndroidRuntimeException Base class for all unchecked exceptions thrown by the Android frameworks. AndroidTestCase Extend this if you need to access Resources or other things that depend on Activity Context. AndroidTestRunner Animatable Interface that drawables suporting animations should implement. Animation Abstraction for an Animation that can be applied to Views, Surfaces, or other objects. Animation.AnimationListener An animation listener receives notifications from an animation. Animation.Description Utility class to parse a string description of a size. AnimationDrawable An object used to create frame-by-frame animations, defined by a series of Drawable objects, which can be used as a View object s background. AnimationSet Represents a group of Animations that should be played together. AnimationUtils Defines common utilities for working with animations. AnnotatedElement This interface provides reflective access to annotation information. Annotation Annotations are simple key-value pairs that are preserved across TextView save/restore cycles and can be used to keep application-specific data that needs to be maintained for regions of text. Annotation Defines the interface implemented by all annotations. Annotation Wrapper for a text attribute value which represents an annotation. AnnotationFormatError Indicates that an annotation in the binary representation of a class is syntactically incorrect and the annotation parser is unable to process it. AnnotationTypeMismatchException Indicates that an annotation type has changed since it was compiled or serialized. AnticipateInterpolator An interpolator where the change starts backward then flings forward. AnticipateOvershootInterpolator An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value. Appendable Declares methods to append characters or character sequences. Application Base class for those who need to maintain global application state. ApplicationInfo Information you can retrieve about a particular application. ApplicationInfo.DisplayNameComparator ApplicationTestCase T extends Application This test case provides a framework in which you can test Application classes in a controlled environment. AppWidgetHost AppWidgetHost provides the interaction with the AppWidget service for apps, like the home screen, that want to embed AppWidgets in their UI. AppWidgetHostView Provides the glue to show AppWidget views. AppWidgetManager Updates AppWidget state; gets information about installed AppWidget providers and other AppWidget related state. AppWidgetProvider A convenience class to aid in implementing an AppWidget provider. AppWidgetProviderInfo Describes the meta data for an installed AppWidget provider. ArcShape Creates an arc shape. ArithmeticException Thrown when the an invalid arithmetic operation is attempted. Array This class provides static methods to create and access arrays dynamically. Array A Java representation of the SQL ARRAY type. ArrayAdapter T A ListAdapter that manages a ListView backed by an array of arbitrary objects. ArrayBlockingQueue E A bounded blocking queue backed by an array. ArrayIndexOutOfBoundsException Thrown when the an array is indexed with a value less than zero, or greater than or equal to the size of the array. ArrayList E ArrayList is an implementation of List, backed by an array. Arrays Arrays contains static methods which operate on arrays. ArrayStoreException Thrown when a program attempts to store an element of an incompatible type in an array. ArrowKeyMovementMethod Assert A set of assert methods. AssertionError Thrown when an assertion has failed. AssertionFailedError Thrown when an assertion failed. AssertionFailedError Thrown when an assertion failed. AssetFileDescriptor File descriptor of an entry in the AssetManager. AssetFileDescriptor.AutoCloseInputStream An InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed. AssetFileDescriptor.AutoCloseOutputStream An OutputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed. AssetManager Provides access to an application s raw asset files; see Resources for the way most applications will want to retrieve their resource data. AssetManager.AssetInputStream AsynchronousCloseException An AsynchronousCloseException is thrown when the underlying channel for an I/O operation is closed by another thread. AsyncPlayer Plays a series of audio URIs, but does all the hard work on another thread so that any slowness with preparing or loading doesn t block the calling thread. AsyncQueryHandler A helper class to help make handling asynchronous ContentResolver queries easier. AsyncQueryHandler.WorkerArgs AsyncQueryHandler.WorkerHandler AsyncTask Params, Progress, Result AsyncTask enables proper and easy use of the UI thread. AsyncTask.Status Indicates the current status of the task. AtomicBoolean A boolean value that may be updated atomically. AtomicInteger An int value that may be updated atomically. AtomicIntegerArray An int array in which elements may be updated atomically. AtomicIntegerFieldUpdater T A reflection-based utility that enables atomic updates to designated volatile int fields of designated classes. AtomicLong A long value that may be updated atomically. AtomicLongArray A long array in which elements may be updated atomically. AtomicLongFieldUpdater T A reflection-based utility that enables atomic updates to designated volatile long fields of designated classes. AtomicMarkableReference V An AtomicMarkableReference maintains an object reference along with a mark bit, that can be updated atomically. AtomicReference V An object reference that may be updated atomically. AtomicReferenceArray E An array of object references in which elements may be updated atomically. AtomicReferenceFieldUpdater T, V A reflection-based utility that enables atomic updates to designated volatile reference fields of designated classes. AtomicStampedReference V An AtomicStampedReference maintains an object reference along with an integer "stamp", that can be updated atomically. Attr The Attr interface represents an attribute in an Element object. AttributedCharacterIterator Extends the CharacterIterator interface, adding support for iterating over attributes and not only characters. AttributedCharacterIterator.Attribute Defines keys for text attributes. AttributedString Holds a string with attributes describing the characters of this string. AttributeList This interface is deprecated. This interface has been replaced by the SAX2 Attributes interface, which includes Namespace support. AttributeListImpl This class is deprecated. This class implements a deprecated interface, AttributeList; that interface has been replaced by Attributes, which is implemented in the AttributesImpl helper class. Attributes The Attributes class is used to store values for manifest entries. Attributes Interface for a list of XML attributes. Attributes.Name The name part of the name/value pairs constituting an attribute as defined by the specification of the JAR manifest. Attributes2 SAX2 extension to augment the per-attribute information provided though Attributes. Attributes2Impl SAX2 extension helper for additional Attributes information, implementing the Attributes2 interface. AttributeSet A collection of attributes, as found associated with a tag in an XML document. AttributesImpl Default implementation of the Attributes interface. AudioFormat The AudioFormat class is used to access a number of audio format and channel configuration constants. AudioManager AudioManager provides access to volume and ringer mode control. AudioRecord The AudioRecord class manages the audio resources for Java applications to record audio from the audio input hardware of the platform. AudioRecord.OnRecordPositionUpdateListener Interface definition for a callback to be invoked when an AudioRecord has reached a notification marker set by setNotificationMarkerPosition(int) or for periodic updates on the progress of the record head, as set by setPositionNotificationPeriod(int). AudioTrack The AudioTrack class manages and plays a single audio resource for Java applications. AudioTrack.OnPlaybackPositionUpdateListener Interface definition for a callback to be invoked when the playback head position of an AudioTrack has reached a notification marker or has increased by a certain period. AUTH Constants and static helpers related to the HTTP authentication. AuthenticationException Signals a failure in authentication process AuthenticationHandler Authenticator An implementation of this class is able to obtain authentication information for a connection in several ways. Authenticator.RequestorType Enumeration class for the origin of the authentication request. AuthParamBean AuthParams This class implements an adaptor around the HttpParams interface to simplify manipulation of the HTTP authentication specific parameters. AuthPermission Governs the use of methods in this package and also its subpackages. AuthPNames Parameter names for HttpAuth. AuthPolicy AuthProvider AuthProvider is an abstract superclass for Java Security Provider which provide login and logout. AuthScheme This interface represents an abstract challenge-response oriented authentication scheme. AuthSchemeBase Abstract authentication scheme class that serves as a basis for all authentication schemes supported by HttpClient. AuthSchemeFactory AuthSchemeRegistry Authentication scheme registry that can be used to obtain the corresponding authentication scheme implementation for a given type of authorization challenge. AuthScope The class represents an authentication scope consisting of a host name, a port number, a realm name and an authentication scheme name which Credentials apply to. AuthState This class provides detailed information about the state of the authentication process. AutoCompleteTextView An editable text view that shows completion suggestions automatically while the user is typing. AutoCompleteTextView.Validator This interface is used to make sure that the text entered in this TextView complies to a certain format. AutoText This class accesses a dictionary of corrections to frequent misspellings. AvoidXfermode AvoidXfermode xfermode will draw the src everywhere except on top of the opColor or, depending on the Mode, draw only on top of the opColor. AvoidXfermode.Mode B コメント ぬいた(ノ゚Д゚)ノシ★ http //s.64n.co/ -- (age) 2011-12-29 13 42 53 風俗店を探よりココ!!男性は報酬あり!(*´ェ`*)→ http //sns.b8y.in/ -- (千春) 2012-08-21 02 37 48 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/p-phun/pages/25.html
Click to show this page in English This page is dedicated to some good movies of Phun at Nico Nico Douga (or Nicovideo), a japanese video sharing website. The movie at the top is a promotional video made by Emil Ernerfeldt (the creator of Phun), a student of Virtual Reality Laboratory (VRlab), Umeå Univ. [NicoVideo screenshot] このページの説明(日本語) このページは、ニコニコ動画のPhun動画を見るためのページです。 通常、ニコニコ動画の閲覧にはアカウントが必要ですが、このページではアカウントを持っていない方でも動画を見ることができます。 コメントが邪魔な場合は、動画画面右下のひよこのマークをクリックすると、非表示にできます。 今のところ、基準は設けられていませんが、ここに載る動画は「best of phunと呼ぶに相応しい何か」を持っているものばかりです。 ※一番最初の紹介動画はPhunの作者であるEmil氏によるものです。 2008年02月18日 13 08 24 投稿 (contributed to NicoVideo 2008Feb18 13 08 24) ピタゴラスイッチが楽しめるソフト Phun Phun - 2D physics sandbox http //www.nicovideo.jp/watch/sm2364169 +... Comment test -- (和訳の人) 2008-05-06 16 04 11 そういえば各ページ下部にコメント欄はつけないんでしょうか? -- (arquebusier) 2008-05-13 01 35 31 そういえば各ページ下部にコメント欄はつけないんでしょうか? 私は、p-phun管理人様に一任していいと思います。 管理人様 -- (和訳の人) 2008-05-13 16 29 04 …考え直しました。やはりコメント欄はあったほうがいいですね。@wikiのシステムに詳しい方、「エンターを押しても投稿されない、かつ横幅の広いコメント欄」って作れるのでしょうか。 -- (和訳の人) 2008-05-16 01 58 51 現状では、エンターキーで改行しようとすると投稿されてしまいます。 -- (和訳の人) 2008-05-16 01 59 31 Name Comment すべてのコメントを見る 2008年02月24日 04 05 15 投稿 【phun】キャタピラの作り方 How to make a caterpillar http //www.nicovideo.jp/watch/sm2418474 2008年03月05日 03 36 16 投稿 Phunでスペースコロニーの開発 Space colony development in Phun http //www.nicovideo.jp/watch/sm2519062 2008年03月06日 10 55 57 投稿 【Phun】ニコニコスイッチ☆アイランド 総集編 Highlights of NicoNico Switch Island series http //www.nicovideo.jp/watch/sm2531465 2008年03月08日 09 41 59 投稿 Phunロケット開発支援PV「空」 "Sky" - the promotional video for rocket development in Phun http //www.nicovideo.jp/watch/sm2560301 2008年03月10日 17 48 04 投稿 Phunでリボルバー作った! I made a revolver in Phun http //www.nicovideo.jp/watch/sm2595323 2008年03月11日 01 25 25 投稿 Phunでスペースコロニーの開発4 Space colony development in Phun part 4 http //www.nicovideo.jp/watch/sm2601444 2008年03月13日 09 43 51 投稿 【Phun】で作った戦車で特殊地形を走破してみた。 I made a tank and ran a special course http //www.nicovideo.jp/watch/sm2628115 2008年03月13日 20 53 17 投稿 phun でウマウマシーン 改良型 The "caramelldansen" dance machine (modified) in Phun http //www.nicovideo.jp/watch/sm2633668 2008年03月14日 14 27 03 投稿 【プロジェクトPhun】月面着陸への挑戦 Challenge to Moon landing (English sub added) http //www.nicovideo.jp/watch/sm2641690 2008年03月15日 19 23 11 投稿 【Phun】玉入れ弥生杯まとめ動画 3/15版 The summary of "tossing balls into the box" contest (ver. March15th) http //www.nicovideo.jp/watch/sm2657546 2008年03月31日 16 52 16 投稿 【Phun】時計作ってみました。 I made a clock http //www.nicovideo.jp/watch/sm2848221 2008年04月12日 15 22 05 投稿 【Phun】でニコステポータブル(完成版?) NicoNico station portable http //www.nicovideo.jp/watch/sm2971101 2008年05月03日 23 16 07 投稿 【ニコニコ動画】Phunでデッドコースター作ってみた DEAD COASTER http //www.nicovideo.jp/watch/sm3184222
https://w.atwiki.jp/afk125/pages/12.html
Apachでリダイレクト Apatchのバーチャルホスト機能でリダイレクト "http.conf"で以下の設定を追加 VirtualHost * ServerName www.hoge.co.jp Redirect / http //www.hoge.com/ ErrorLog logs/hoge_error.log CustomLog logs/hoge_access.log common /VirtualHost HTMLで転送 ただし、アクセスできるページ分、このHTMLを作成しないといけないみたいですね www.hoge.co.jp配下ページの中身を head meta HTTP-EQUIV="Refresh" content="0;URL=http //www.hoge.com/hoge.htm" /head にするだけです。 ※その際に元のページが一瞬表示されてしまうため、 body タグは消してください。 参考URL ttp //support.cms.drecom.jp/m_forward2 ".htaccess"で転送 策3、そのサーバーで作成したコンテンツ毎に".htaccess"に行を追加するタイプ ".htaccess"に以下を記述 Redirect permanent /index.html http //www.hoge.com/index.html っていうように、コンテンツ毎に記述をしていく感じです。策2と違ってドキュメントルートに ファイル1個で済む感じですね 参考URL ttp //cefa.sakura.ne.jp/archives/2005/03/020514.php
https://w.atwiki.jp/lsl_japan/pages/39.html
イベント http_response http_response(key request_id, integer status, list metadata, string body) このイベントハンドラはllHTTPRequest()関数で送信したリクエストに対して HTTPレスポンスを受信したときに発生します。 また、llHTTPRequest()関数で送信したリクエストに対してリクエストが失敗していたり、タイムアウトした時にも発生します。 request_idにはllHTTPRequest()関数の呼び出しが発生したときにllHTTPRequest()関数が返したUUIDの値が格納されます。 statusはHTTPレスポンスが返されたのか、リクエストが失敗した原因を示すHTTPステータスコードが設定されます。 499はTCPコネクションの確立が失敗したときや、コネクションが確立されても、それが無効なHTTP応答あった場合を示します。 ま、499は相手が無効なSSL証明書を持っている場合や、証明をつけてあっても、 一定時間(60秒に設定されることが多いらしい)以上経過して応答がなかった場合も499を受け取ります。 503はDNSへの問い合わせが失敗したことを示します。 #本来のHTTPにおいてはService Unavailable(サービス利用負荷)と呼ばれ、 サーバはサーバの一時的な過負荷あるいはメインテナンスのために、 現在、リクエストを扱うことができないことを意味します。 metadataは応答について説明するキーと値の組のペアがリストとして格納されます。 現在、返されるであろう唯一のキーはHTTP_BODY_TRUNCATEDです。 Valueにはイベントの受信容量の制限によって切り捨てられた情報のバイト数を示します。 応答がテキストmime-typeを指定する「content-type 」ヘッダーを含んでいる限り,bodyはHTTP応答のbodyに設定されます。 mime-typeが指定されないか、タイプがテキストタイプでないなら、bodyは「"Unsupported or unknown Content-Type." (サポートされないか未知のコンテントタイプ)」に設定されます。 「content-type 」ヘッダーで文字セットを指定すると、ボディーはUTF-8に変換されて応答するでしょう、また、サポートされてない文字コードが指定された場合は「サポートされないか未知の文字集合」に設定されるでしょう。 ボディーは現在、2048バイト以内に制限されます。 "\n"はLSLではコンパイル時に「改行文字」に変換されることを忘れないでください。 そして、あなたのサーバーが"\n"以外の文字を「改行文字」として定義されている可能性があります。 あなたは「改行」を加える適切な方法がないかどうかあなたのサーバのドキュメンテーションをチェックするべきです。 あなたのマイレージは変わるかもしれません。-Ice あなたのWEBサーバーからデーターを得る簡単なスクリプト例 //This script requests from our data source (URL) and echoes out what it sends to the owner of the script //I use this to test my PHP apps personally, it s a simple debugging application so I release it publicly //You may use, redistribute, modify, copy however you feel would be useful string URL="http //www.secondlife.com/httprequest/homepage.php"; key http;//This stores the HTTP request we send. default { touch_start(integer foo) { http=llHTTPRequest(URL, [] ,""); } http_response(key id,integer status, list meta, string body) { if(http==id) { integer i; list lbody=llParseString2List(body,["\n"],[]); integer count=llGetListLength(lbody); //This turns newline characters char(10) //into new lines in chat //These are Unix/LSL style end of lines, //use \r\n in place of \n for //Windows style end of line from web server. for(i=0;i count;i++) { llOwnerSay(llList2String(lbody,i)); } } } }
https://w.atwiki.jp/cheapugg058/pages/17.html
" On top of that, she looks pretty damn good for being in her 50s These cause three putt disasters and can become very frustrating!There are all varieties of golf swing tips out there to be found Buying US Open tennis tickets was a little challenging Infact, if I remember well, I was able to make the software download instantly in less than 1 minute The onus will be on them this season to try and get quarterback Matthew Stafford to finally last a full year healthy Some of them are already well-covered by bloggers, and others there is more leewaybut that s for another entry The receiver is the device that translated the electromagnetic waves into images and sound Many of these [[Tony Gonzalez Jersey http //www.falconsofficialonline.com]] are made in advance and transported to the party The cell phones and accessories will cover every area of wall space that is available, and it is quite an over-whelming sight to experience Fruta Planta is a Chinese diet pill manufactured by a China-based health company called Guangzhou Health Care They are performed at Chinese New Year, the August moon Festival and other celebratory occasions for good luck One can use the same cue stick to play any versionditto204608457020678144 {background #5AD2D8 urlart, let s take a look at the where and the whenIn all the main forms of modern billiards--American pool, English snooker, and carom billiards--the cue or cue stick is really the only equipment that carries directly over from one game to the otherWorkaholicsNew Episodes May 2012The Derswww [Via EFF Knots- This game is twister on the iphone These work by suspending power to the 12 Volt accessories being used when the battery voltage drops favorite span {background-position -32px 2px;} pTwo days later, the situation was apparently repeated, and this time the player was confined to a room that is often used as a media room by visiting teams Their stock is quite amazing too, because they will have every cell phone that is being offered in any retailing outlet for miles around, at prices that will astound even the most knowledgeable of cell phone users The bike is provided with freestyle handle bar Then there are the aqua and black guys on the other side of the fielddittoTweet spandittodownarrow {width 0;height 0;border-left 20px solid transparent;border-right 20px solid transparent;border-top 20px solid #EEE;margin 0 0 0 73px;}Follow @CaesarTheJDC This not only saves you a lot of time, but also saves you a whole lot of dish network menu guide difficulty as all the details you need is accessible at one particular area It is also rich in vitamins, minerals and natural antioxidants If you prefer fixed mounted fish finders, the Fishin Buddy line can also be mounted to your craft using the included bracket These horns will produce a loud sound of 120 decibels What has been surprising so far this season has been the New Orleans defense10retweet span {background-position -80px 3px;}span As a solo artist, she recorded great music, with singles like "I Hate Myself for Loving You," "Do You Want to Touch Me," and probably most recognizably, "I Love Rock n Roll -Wikipediatwimg As the Oklahoma native says on her website, "I am a huge football fan, especially when it comes to my hometown Sooners and my Green Bay PackersdittoTweet span The 7-8 monthswithout comeptitive football before the August NFL preseason cultivatesanticipation for the NFL and collegiate football product A screen name can also be referred to as user name north face outlet timestamp a span {display inline-block;width 16px;background-image uJustin Smith Jersey rl(http //images With 266 passing yards and three touchdowns in his first game this season, Sanchez proved he is not going anywhereTackling Drills for FootballTackling drills are made a regular feature by some coaches in a team s practice scheduleWhile most tailgaters party at their hometown stadium, some travel to any game their team playsdittoTweet span For Kim this will be a more difficult marriagemetadata {display block;width 100%;clear both;margin-top 8px;padding-top 12px;height 65px;} p Shaloub gets extra points because he s one of us ? born and raised in Green Bay authorities, including the yellow first down line for NFL broadcasts; he is co-founder of South Swell Sports, which has become a successful San Diego lacrosse league and equipment retailer; and heStevan Ridley Jersey was a finalist for the Ernst and Young Entrepreneur of the Year award 8 hours ago via web·Reply·Retweet·Favorite·powered by @socialdittoFormer NFL linebacker Junior Seau was found dead at his home yesterday of an apparent self-inflicted gunshot wound to the chest www.michaelkorsoutletob.com
https://w.atwiki.jp/abwiki/pages/84.html
ちょっとABとは関係のないお話 [edit] HTTPについて † Hyper Text Transfer Protocolの略。Webブラウザとサーバがやりとりする際などに使われる通信プロトコル バージョンHTTP/1.0と1.1が存在する。ここでは一応1.1ベース ↑ [edit] 準備 † まずはソケットを使った通信を読んでsendとrecvを使えるようになって頂きたい ↑ [edit] 使い方 † 初めにsendでHTTPのリクエストを送信する。続いてrecvでサーバから返事を受け取る 以上 ↑ [edit] リクエストの基本構造 † <メソッド><HTTPバージョン>CRLF <ヘッダ>CRLF CRLF メソッドはGETとかHEADとかPUTとか。プログラムでいう所の関数名 ヘッダっていうのはメソッドの付加情報。関数の引数みたいな物です メソッドは常に一つ。ヘッダは任意の個数です。無い場合もあります 各行の終端にはCRLF(Ex"\r\n"のこと)を付け、終端には空行を付けます ↑ [edit] レスポンスの構造 † レスポンスはリクエストをsendでHTTPサーバーに送ると必ず返されrecvで受け取ることが出来ます <HTTPバージョン><ステータスコード>CRLF <ヘッダ>CRLF CRLF <メッセージボディ> HTTPバージョンとステータスコードは送ったHTTPメソッドの実行結果で、これだけはレスポンスの先頭に必ず存在します 例 HTTP/1.1 200 OK ステータスコードは3桁の数字で表され、百の位が2なら成功、4ならクライアント側のエラー、5ならサーバ側のエラーになります 3の場合は処理を完了するために再度適切なリクエスト送信する必要がある場合を示します 1は複雑なんでパス ヘッダはメッセージボディの情報を表す部分ですがもしかしたら無い場合もあるかも メッセージボディはGETだったら対象となったリソース、POSTだったらCGIの実行結果とか ここもヘッダ部分と同様に存在しない場合がある(例:HEADメソッド) ヘッダとの間に空行がはさまっているので注意。またメッセージボディの最後にCRLFは存在しない ↑ [edit] HTTPメソッド † ↑ [edit] GETメソッド † HTTPサーバーからリソースを取得します 基本形 GET uri HTTP/1.1 Host hostname hostnameは接続するホストサーバー名です。ここのWikiだとURLのwww.2chab.netの部分です uriの部分は取得したいURLのホスト名より先の部分を指定します 2ちゃんねるのトップページを取得する例 GET / HTTP/1.1 Host www.2ch.net 本来は/index.htmlとか/の先の指定も必要なんですが、省略するとindex*(*は一字以上の文字列)を指定した事になります 略さないで書くと GET /index.html HTTP/1.1 Host www.2ch.net 成功すればレスポンスのメッセージボディ部分にGETの対象になったリソースが入っている ステータスコードは成功すれば200 OK。リソースが見つからなければ404。アクセス拒否なら403。サーバー過負荷なら503 もちろんこれ以外のステータスコードである可能性もある ↑ [edit] Rangeヘッダ † リソースに対するGETの範囲を指定するリクエストヘッダです リソースの128バイトから256バイトまで取得 Range 128-256 リソースの512バイト以降を取得 Range 512- このヘッダを含めてGETを送った場合、成功時のステータスコードは206になります 失敗した時は416(要求範囲が不正)が返されるかも ↑ [edit] If-Modified-Sinceヘッダ † リソースが指定日時より後に更新されているか調べるヘッダです 更新されていない場合はGETしません GMTで2007年5月5日午前0時以降に更新されているか調べる If-Modified-Since Sun, 5 May 2007 00 00 00 GMT このヘッダを含めてGETを送った場合、リソースが更新されていなければレスポンスには304(未更新)が返されます この場合メッセージボディはありません 更新されていれば普通に200番代のステータスコードとメッセージボディを返してきます ↑ [edit] HEADメソッド † HTTPサーバーからリソースの情報を取得します 基本形 HEAD uri HTTP/1.1 Host hostname CRLF hostname、uriはGETと同じです 成功すればリソースのヘッダだけ返ってきます(つまりHEAD=GET-メッセージボディ) ↑ [edit] POSTメソッド † HTTPサーバーに情報を送信します CGIのパラメータなんかを送信するために使う。実行結果がCGI依存なのでかなり厄介 基本形 POST uri HTTP/1.1 Host hostname Content-Type type Content-Length 25222length CRLF メッセージボディ hostname、uriはGETと同じ typeはフォームデータだけ場合はapplication/x-www-form-urlencoded 何らかのリソースを含む場合はmultipart/form-data 殆ど前者だけで事足りると思うが、アップローダーのようなリソースを受け付けるCGIは後者を利用する lengthは後に続くメッセージボディの長さ メッセージボディはapplication/x-www-form-urlencodedの場合 変数名1=値1 変数名2=値2... のように変数名と値を=で結んだ物を を区切りとして羅列する。変数名も値もURLエンコードされていなければならない multipart/form-dataは大変なので省略 成功すれば二百番台のステータスコードを返す リソースが既に生成されている場合201を返す(見たこと無いけど) ↑ [edit] GETでPOSTする † サーバーに情報を送信する時はPOSTを使うべきだが、極少量のデータであればGETでも送れる 基本形 GET uri?メッセージボディ HTTP/1.1 Host hostname CRLF uriの後に?とPOSTのとき送ったメッセージボディをつける。やはりURLエンコード必須 Content-TypeとContent-Lengthはいらない
https://w.atwiki.jp/mainichimatome-en/
What is the WaiWai issue? Astonishingly hideous newspaper articles published by one of Japanese "quality" papers on their English-language news site has infuriated many people. Some concerned people began online campaign to raise awareness of the issue, resulting in a large-scale protest movement. Mainichi Newspapers, one of Japan s four major "quality" newspapers, who has the 3rd largest readership, had published incredibly vulgar and indecent articles, many of which described Japanese women and girls as sexually promiscuous on the "WaiWai" corner of their English news site, Mainich Daily News. There were articles which gave tips for safe ways to buy under-age Japanese girls. There were also a report which described a traditional religious festival as having strangly strong sexual connotation. The problem is that these articles had been online for several years. The problematic articles have been already deleted -- Mainich Newspapers has apparently chosen to delete all the evidence. They re now claiming that a very small number of extreme people are making a fuss about a few not-so-appropriate articles. That is why the volunteers began to archive such articles so that we will be able to show Mainichi that their cover-up attempt is only in vain. Since 06/27/08
https://w.atwiki.jp/macoto_mayu/pages/14.html
?php if (! defined( PKWK_OPTIMISE )) define( PKWK_OPTIMISE , 0); if (! defined( PKWK_READONLY )) define( PKWK_READONLY , 0); // 0 or 1 if (! defined( PKWK_SAFE_MODE )) define( PKWK_SAFE_MODE , 1); if (! defined( PKWK_DISABLE_INLINE_IMAGE_FROM_URI )) define( PKWK_DISABLE_INLINE_IMAGE_FROM_URI , 1); define( PKWK_QUERY_STRING_MAX , 1024); // Bytes, 0 = OFF define( PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK ,0); // 1 = Disabled define( LANG , ja ); define( UI_LANG , LANG); // en for Internationalized wikisite define( DATA_DIR , DATA_HOME . wiki/ ); // Latest wiki texts define( DIFF_DIR , DATA_HOME . diff/ ); // Latest diffs define( BACKUP_DIR , DATA_HOME . backup/ ); // Backups define( CACHE_DIR , DATA_HOME . cache/ ); // Some sort of caches define( UPLOAD_DIR , DATA_HOME . attach/ ); // Attached files and logs define( COUNTER_DIR , DATA_HOME . counter/ ); // Counter plugin s counts define( TRACKBACK_DIR , DATA_HOME . trackback/ ); // TrackBack logs define( PLUGIN_DIR , DATA_HOME . plugin/ ); // Plugin directory define( SPAM_FILTER_COND , #ipcountry() or #urlnsbl() or #useragent() or #filename() or #atag() or #ngreg() or #onlyeng() or (#urlnum() and #uaunknown()) ); define( PLUGIN_REF_URL_GET_IMAGE_SIZE , FALSE); define( SPAM_FILTER_ATAG_REG , /\[HTTP | \/a |\[\/url\]/i ); define( SKIN_DIR , skin/ ); define( IMAGE_DIR , image/ ); switch (LANG) { // or specifiy one case ja define( ZONE , JST ); define( ZONETIME , 9 * 3600); // JST = GMT + 9 break; default define( ZONE , GMT ); define( ZONETIME , 0); break; } $page_title = Belle Isle Wiki ; $script = http //example.com/pukiwiki/ ; $script_directory_index = index.php ; $modifier = MonMon ; $modifierlink = http //example.com/pukiwiki/ ; $defaultpage = Belle Isle Wiki ; // Top / Default page $whatsnew = RecentChanges ; // Modified page list $whatsdeleted = RecentDeleted ; // Removeed page list $interwiki = InterWikiName ; // Set InterWiki definition here $menubar = MenuBar ; // Menu $nofollow = 0; // 1 = Try hiding from search engines define( PKWK_ALLOW_JAVASCRIPT , 1); $trackback = 0; $trackback_javascript = 0; $enable_bodycache = true; $enable_bodycache_default = true; $bodycache_disable_plugins = array( ls2 , areaedit ); $referer = 0; $nowikiname = 1; $autolink = 0; // Bytes, 0 = OFF (try 8) $function_freeze = 1; $notimeupdate = 0; $adminpass = {x-php-md5}! ; $pagereading_enable = 0; $pagereading_kanji2kana_converter = none ; $pagereading_kanji2kana_encoding = EUC ; // Default for Unix $pagereading_chasen_path = /usr/local/bin/chasen ; $pagereading_kakasi_path = /usr/local/bin/kakasi ; $pagereading_config_page = config/PageReading ; $pagereading_config_dict = config/PageReading/dict ; $auth_users = array( // Username = password foo = foo_passwd , // Cleartext bar = {x-php-md5}f53ae779077e987718cc285b14dfbe86 , // PHP md5() bar_passwd hoge = {SMD5}OzJo/boHwM4q5R+g7LCOx2xGMkFKRVEx , // LDAP SMD5 hoge_passwd ); $auth_method_type= pagename ;// By Page name $read_auth = 0; $read_auth_pages = array( // Regex Username #HogeHoge# = hoge , #(NETABARE|NetaBare)# = foo,bar,hoge , ); $edit_auth = 0; $edit_auth_pages = array( // Regex Username #BarDiary# = bar , #HogeHoge# = hoge , #(NETABARE|NetaBare)# = foo,bar,hoge , ); $search_auth = 0; $maxshow = 60; $maxshow_deleted = 60; $cantedit = array( $whatsnew, $whatsdeleted ); $lastmod = 1; $date_format = Y-m-d ; $time_format = H i s ; $rss_max = 15; $do_backup = 1; $del_backup = 0; $cycle = 0; // Wait N hours between backup (0 = no wait) $maxage = 50; // Stock latest N backups define( PKWK_SPLITTER , ); define( PKWK_UPDATE_EXEC , ); $use_proxy = 0; $proxy_host = proxy.example.com ; $proxy_port = 8080; $need_proxy_auth = 0; $proxy_auth_user = username ; $proxy_auth_pass = password ; $no_proxy = array( localhost ,// localhost 127.0.0.0/8 ,// loopback ); $notify = 0; $notify_diff_only = 1; $smtp_server = localhost ; $notify_to = to@example.com ;// To $notify_from = from@example.com ;// From $notify_subject = [PukiWiki] $page ; $notify_header = ; $smtp_auth = 0; $pop_server = localhost ; $pop_port = 110; $pop_userid = ; $pop_passwd = ; $non_list = ^\ ; $search_non_list = 1; $auto_template_func = 1; $auto_template_rules = array( (*1) = \2/template ); $fixed_heading_anchor = 1; $fixed_heading_anchor_edit = 1; $preformat_ltrim = 1; $line_break = 0; $usedatetime = 1; $agents = array( // Embedded browsers (Rich-clients for PukiWiki) // Windows CE (Microsoft(R) Internet Explorer 5.5 for Windows(R) CE) // Sample "Mozilla/4.0 (compatible; MSIE 5.5; Windows CE; sigmarion3)" (sigmarion, Hand-held PC) array( pattern = #\b(? MSIE [5-9]).*\b(Windows CE)\b# , profile = default ), // ACCESS "NetFront" / "Compact NetFront" and thier OEM, expects to be "Mozilla/4.0" // Sample "Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0" (PlayStation BB Navigator, for SONY PlayStation 2) // Sample "Mozilla/4.0 (PDA; PalmOS/sony/model crdb/Revision 1.1.19) NetFront/3.0" (SONY Clie series) // Sample "Mozilla/4.0 (PDA; SL-A300/1.0,Embedix/Qtopia/1.1.0) NetFront/3.0" (SHARP Zaurus) array( pattern = #^(? Mozilla/4).*\b(NetFront)/([0-9\.]+)# , profile = default ), // Embedded browsers (Non-rich) // Windows CE (the others) // Sample "Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; 240x320 )" (GFORT, NTT DoCoMo) array( pattern = #\b(Windows CE)\b# , profile = keitai ), // ACCESS "NetFront" / "Compact NetFront" and thier OEM // Sample "Mozilla/3.0 (AveFront/2.6)" ("SUNTAC OnlineStation", USB-Modem for PlayStation 2) // Sample "Mozilla/3.0(DDIPOCKET;JRC/AH-J3001V,AH-J3002V/1.0/0100/c50)CNF/2.0" (DDI Pocket AirH" Phone by JRC) array( pattern = #\b(NetFront)/([0-9\.]+)# , profile = keitai ), array( pattern = #\b(CNF)/([0-9\.]+)# , profile = keitai ), array( pattern = #\b(AveFront)/([0-9\.]+)# , profile = keitai ), array( pattern = #\b(AVE-Front)/([0-9\.]+)# , profile = keitai ), // The same? // NTT-DoCoMo, i-mode (embeded Compact NetFront) and FOMA (embedded NetFront) phones // Sample "DoCoMo/1.0/F501i", "DoCoMo/1.0/N504i/c10/TB/serXXXX" // c以降は可変 // Sample "DoCoMo/2.0 MST_v_SH2101V(c100;TB;W22H12;serXXXX;iccxxxx)" // ()の中は可変 array( pattern = #^(DoCoMo)/([0-9\.]+)# , profile = keitai ), // Vodafone s embedded browser // Sample "J-PHONE/2.0/J-T03"// 2.0は"ブラウザの"バージョン // Sample "J-PHONE/4.0/J-SH51/SNxxxx SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0" array( pattern = #^(J-PHONE)/([0-9\.]+)# , profile = keitai ), // Openwave(R) Mobile Browser (EZweb, WAP phone, etc) // Sample "OPWV-SDK/62K UP.Browser/6.2.0.5.136 (GUI) MMP/2.0" array( pattern = #\b(UP\.Browser)/([0-9\.]+)# , profile = keitai ), // Opera, dressing up as other embedded browsers // Sample "Mozilla/3.0(DDIPOCKET;KYOCERA/AH-K3001V/1.4.1.67.000000/0.1/C100) Opera 7.0" (Like CNF at keitai -mode) array( pattern = #\b(? DDIPOCKET|WILLCOM)\b.+\b(Opera) ([0-9\.]+)\b# , profile = keitai ), // Planetweb http //www.planetweb.com/ // Sample "Mozilla/3.0 (Planetweb/v1.07 Build 141; SPS JP)" ("EGBROWSER", Web browser for PlayStation 2) array( pattern = #\b(Planetweb)/v([0-9\.]+)# , profile = keitai ), // DreamPassport, Web browser for SEGA DreamCast // Sample "Mozilla/3.0 (DreamPassport/3.0)" array( pattern = #\b(DreamPassport)/([0-9\.]+)# , profile = keitai ), // Palm "Web Pro" http //www.palmone.com/us/support/accessories/webpro/ // Sample "Mozilla/4.76 [en] (PalmOS; U; WebPro)" array( pattern = #\b(WebPro)\b# , profile = keitai ), // ilinx "Palmscape" / "Xiino" http //www.ilinx.co.jp/ // Sample "Xiino/2.1SJ [ja] (v. 4.1; 153x130; c16/d)" array( pattern = #^(Palmscape)/([0-9\.]+)# , profile = keitai ), array( pattern = #^(Xiino)/([0-9\.]+)# , profile = keitai ), // SHARP PDA Browser (SHARP Zaurus) // Sample "sharp pda browser/6.1[ja](MI-E1/1.0) " array( pattern = #^(sharp [a-z]+ browser)/([0-9\.]+)# , profile = keitai ), // WebTV array( pattern = #^(WebTV)/([0-9\.]+)# , profile = keitai ), // Desktop-PC browsers // Opera (for desktop PC, not embedded) -- See BugTrack/743 for detail // NOTE Keep this pattern above MSIE and Mozilla // Sample "Opera/7.0 (OS; U)" (not disguise) // Sample "Mozilla/4.0 (compatible; MSIE 5.0; OS) Opera 6.0" (disguise) array( pattern = #\b(Opera)[/ ]([0-9\.]+)\b# , profile = default ), // MSIE Microsoft Internet Explorer (or something disguised as MSIE) // Sample "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" array( pattern = #\b(MSIE) ([0-9\.]+)\b# , profile = default ), // Mozilla Firefox // NOTE Keep this pattern above Mozilla // Sample "Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv 1.7) Gecko/20040803 Firefox/0.9.3" array( pattern = #\b(Firefox)/([0-9\.]+)\b# , profile = default ), // Loose default Including something Mozilla array( pattern = #^([a-zA-z0-9 ]+)/([0-9\.]+)\b# , profile = default ), array( pattern = #^# , profile = default ),// Sentinel ); ?
https://w.atwiki.jp/handsrecs/pages/16.html
http //www.studyinghttp.net/status_code
https://w.atwiki.jp/macoto_mayu/pages/15.html
?php // PukiWiki - Yet another WikiWikiWeb clone // $Id pukiwiki.ini.php,v 1.140 2006/06/11 14 35 39 henoheno Exp $ // Copyright (C) // 2002-2006 PukiWiki Developers Team // 2001-2002 Originally written by yu-ji // License GPL v2 or (at your option) any later version // // PukiWiki main setting file ///////////////////////////////////////////////// // Functionality settings // PKWK_OPTIMISE - Ignore verbose but understandable checking and warning // If you end testing this PukiWiki, set 1 . // If you feel in trouble about this PukiWiki, set 0 . if (! defined( PKWK_OPTIMISE )) define( PKWK_OPTIMISE , 0); ///////////////////////////////////////////////// // Security settings // PKWK_READONLY - Prohibits editing and maintain via WWW // NOTE Counter-related functions will work now (counter, attach count, etc) if (! defined( PKWK_READONLY )) define( PKWK_READONLY , 0); // 0 or 1 // PKWK_SAFE_MODE - Prohibits some unsafe(but compatible) functions if (! defined( PKWK_SAFE_MODE )) define( PKWK_SAFE_MODE , 1); //define( PKWK_SAFE_MODE , 0); // PKWK_DISABLE_INLINE_IMAGE_FROM_URI - Disallow using inline-image-tag for URIs // Inline-image-tag for URIs may allow leakage of Wiki readers information // (in short, Web bug ) or external malicious CGI (looks like an image s URL) // attack to Wiki readers, but easy way to show images. if (! defined( PKWK_DISABLE_INLINE_IMAGE_FROM_URI )) define( PKWK_DISABLE_INLINE_IMAGE_FROM_URI , 1); //define( PKWK_DISABLE_INLINE_IMAGE_FROM_URI , 0); // PKWK_QUERY_STRING_MAX // Max length of GET method, prohibits some worm attack ASAP // NOTE Keep (page-name + attach-file-name) = PKWK_QUERY_STRING_MAX define( PKWK_QUERY_STRING_MAX , 1024); // Bytes, 0 = OFF // define( PKWK_QUERY_STRING_MAX , 640); // Bytes, 0 = OFF ///////////////////////////////////////////////// // Experimental features // Multiline plugin hack (See BugTrack2/84) // EXAMPLE(with a known BUG) // #plugin(args1,args2,...,argsN){{ // argsN+1 // argsN+1 // #memo(foo) // argsN+1 // }} // #memo(This makes #memo(foo) to this) // define( PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK , 1); // 1 = Disabled define( PKWKEXP_DISABLE_MULTILINE_PLUGIN_HACK ,0); // 1 = Disabled ///////////////////////////////////////////////// // Language / Encoding settings // LANG - Internal content encoding ( en , ja , or ...) define( LANG , ja ); // UI_LANG - Content encoding for buttons, menus, etc define( UI_LANG , LANG); // en for Internationalized wikisite ///////////////////////////////////////////////// // Directory settings I (ended with / , permission 777 ) // You may hide these directories (from web browsers) // by setting DATA_HOME at index.php. define( DATA_DIR , DATA_HOME . wiki/ ); // Latest wiki texts define( DIFF_DIR , DATA_HOME . diff/ ); // Latest diffs define( BACKUP_DIR , DATA_HOME . backup/ ); // Backups define( CACHE_DIR , DATA_HOME . cache/ ); // Some sort of caches define( UPLOAD_DIR , DATA_HOME . attach/ ); // Attached files and logs define( COUNTER_DIR , DATA_HOME . counter/ ); // Counter plugin s counts define( TRACKBACK_DIR , DATA_HOME . trackback/ ); // TrackBack logs define( PLUGIN_DIR , DATA_HOME . plugin/ ); // Plugin directory // 20070716 Spam_Filter /////////////////////////////////////////////// //define( SPAM_FILTER_COND , #useragent() or #filename() or #atag() or #ngreg() or (#onlyeng() and (#urlnum() or #uaunknown())) or #urlbl() ); define( SPAM_FILTER_COND , #ipcountry() or #urlnsbl() or #useragent() or #filename() or #atag() or #ngreg() or #onlyeng() or (#urlnum() and #uaunknown()) ); //define( SPAM_FILTER_COND , #ipcountry() or #urlnsbl() or #useragent() or #filename() or #atag() or #ngreg() or (#onlyeng() and (#urlnum() or #uaunknown())) or #urlbl() or #ipbl() ); define( PLUGIN_REF_URL_GET_IMAGE_SIZE , FALSE); define( SPAM_FILTER_ATAG_REG , /\[HTTP | \/a |\[\/url\]/i ); ///////////////////////////////////////////////// ///////////////////////////////////////////////// // Directory settings II (ended with / ) // Skins / Stylesheets define( SKIN_DIR , skin/ ); // Skin files (SKIN_DIR/*.skin.php) are needed at // ./DATAHOME/SKIN_DIR from index.php, but // CSSs(*.css) and JavaScripts(*.js) are needed at // ./SKIN_DIR from index.php. // Static image files define( IMAGE_DIR , image/ ); // Keep this directory shown via web browsers like // ./IMAGE_DIR from index.php. ///////////////////////////////////////////////// // Local time setting switch (LANG) { // or specifiy one case ja define( ZONE , JST ); define( ZONETIME , 9 * 3600); // JST = GMT + 9 break; default define( ZONE , GMT ); define( ZONETIME , 0); break; } ///////////////////////////////////////////////// // Title of your Wikisite (Name this) // Also used as RSS feed s channel name etc $page_title = Belle Isle Wiki ; // Specify PukiWiki URL (default auto) $script = http //example.com/pukiwiki/ ; // Shorten $script Cut its file name (default not cut) //$script_directory_index = index.php ; $script_directory_index = index.php ; // Site admin s name (CHANGE THIS) $modifier = MonMon ; // Site admin s Web page (CHANGE THIS) $modifierlink = http //example.com/pukiwiki/ ; // Default page name // $defaultpage = FrontPage ; // Top / Default page $defaultpage = Belle Isle Wiki ; // Top / Default page $whatsnew = RecentChanges ; // Modified page list $whatsdeleted = RecentDeleted ; // Removeed page list $interwiki = InterWikiName ; // Set InterWiki definition here $menubar = MenuBar ; // Menu ///////////////////////////////////////////////// // Change default Document Type Definition // Some web browser s bug, and / or Java apprets may needs not-Strict DTD. // Some plugin (e.g. paint) set this PKWK_DTD_XHTML_1_0_TRANSITIONAL. //$pkwk_dtd = PKWK_DTD_XHTML_1_1; // Default //$pkwk_dtd = PKWK_DTD_XHTML_1_0_STRICT; //$pkwk_dtd = PKWK_DTD_XHTML_1_0_TRANSITIONAL; //$pkwk_dtd = PKWK_DTD_HTML_4_01_STRICT; //$pkwk_dtd = PKWK_DTD_HTML_4_01_TRANSITIONAL; ///////////////////////////////////////////////// // Always output "nofollow,noindex" attribute $nofollow = 0; // 1 = Try hiding from search engines ///////////////////////////////////////////////// // PKWK_ALLOW_JAVASCRIPT - Allow / Prohibit using JavaScript //define( PKWK_ALLOW_JAVASCRIPT , 0); define( PKWK_ALLOW_JAVASCRIPT , 1); ///////////////////////////////////////////////// // TrackBack feature // Enable Trackback $trackback = 0; // Show trackbacks with an another window (using JavaScript) $trackback_javascript = 0; ///////////////////////////////////////////////// // Bodycache feature // enable bodycache or not // default true $enable_bodycache = true; // use bodycache as default. If it s false, // #bodycache(enable) is required per page. // default true $enable_bodycache_default = true; // If these (block) plugins are contained in page, bodycache will be disabled. // Users can increase this plugin list to control bodycache. // default array( ls2 , pcomment , include ); // $bodycache_disable_plugins = array( ls2 , pcomment , include ); // $bodycache_disable_plugins = array( ls2 , pcomment , include , sitesearch , table_edit , article ); $bodycache_disable_plugins = array( ls2 , areaedit ); ///////////////////////////////////////////////// ///////////////////////////////////////////////// // Referer list feature $referer = 0; ///////////////////////////////////////////////// // _Disable_ WikiName auto-linking // $nowikiname = 0; $nowikiname = 1; ///////////////////////////////////////////////// // AutoLink feature // AutoLink minimum length of page name $autolink = 0; // Bytes, 0 = OFF (try 8) ///////////////////////////////////////////////// // Enable Freeze / Unfreeze feature $function_freeze = 1; ///////////////////////////////////////////////// // Allow to use Do not change timestamp checkbox // (0 Disable, 1 For everyone, 2 Only for the administrator) // $notimeupdate = 1; $notimeupdate = 0; ///////////////////////////////////////////////// // Admin password for this Wikisite // Default always fail $adminpass = {x-php-md5}! ; // Sample //$adminpass = pass ; // Cleartext //$adminpass = {x-php-md5}1a1dc91c907325c69271ddf0c944bc72 ; // PHP md5() pass //$adminpass = {CRYPT}$1$AR.Gk94x$uCe8fUUGMfxAPH83psCZG/ ; // LDAP CRYPT pass //$adminpass = {MD5}Gh3JHJBzJcaScd3wyUS8cg== ; // LDAP MD5 pass //$adminpass = {SMD5}o7lTdtHFJDqxFOVX09C8QnlmYmZnd2Qx ; // LDAP SMD5 pass ///////////////////////////////////////////////// // Page-reading feature settings // (Automatically creating pronounce datas, for Kanji-included page names, // to show sorted page-list correctly) // Enable page-reading feature by calling ChaSen or KAKASHI command // (1 Enable, 0 Disable) $pagereading_enable = 0; // Specify converter as ChaSen( chasen ) or KAKASI( kakasi ) or None( none ) $pagereading_kanji2kana_converter = none ; // Specify Kanji encoding to pass data between PukiWiki and the converter $pagereading_kanji2kana_encoding = EUC ; // Default for Unix //$pagereading_kanji2kana_encoding = SJIS ; // Default for Windows // Absolute path of the converter (ChaSen) $pagereading_chasen_path = /usr/local/bin/chasen ; //$pagereading_chasen_path = c \progra~1\chasen21\chasen.exe ; // Absolute path of the converter (KAKASI) $pagereading_kakasi_path = /usr/local/bin/kakasi ; //$pagereading_kakasi_path = c \kakasi\bin\kakasi.exe ; // Page name contains pronounce data (written by the converter) $pagereading_config_page = config/PageReading ; // Page name of default pronouncing dictionary, used when converter = none $pagereading_config_dict = config/PageReading/dict ; ///////////////////////////////////////////////// // User definition $auth_users = array( // Username = password foo = foo_passwd , // Cleartext bar = {x-php-md5}f53ae779077e987718cc285b14dfbe86 , // PHP md5() bar_passwd hoge = {SMD5}OzJo/boHwM4q5R+g7LCOx2xGMkFKRVEx , // LDAP SMD5 hoge_passwd ); ///////////////////////////////////////////////// // Authentication method $auth_method_type= pagename ;// By Page name //$auth_method_type= contents ;// By Page contents ///////////////////////////////////////////////// // Read auth (0 Disable, 1 Enable) $read_auth = 0; $read_auth_pages = array( // Regex Username #HogeHoge# = hoge , #(NETABARE|NetaBare)# = foo,bar,hoge , ); ///////////////////////////////////////////////// // Edit auth (0 Disable, 1 Enable) $edit_auth = 0; $edit_auth_pages = array( // Regex Username #BarDiary# = bar , #HogeHoge# = hoge , #(NETABARE|NetaBare)# = foo,bar,hoge , ); ///////////////////////////////////////////////// // Search auth // 0 Disabled (Search read-prohibited page contents) // 1 Enabled (Search only permitted pages for the user) $search_auth = 0; ///////////////////////////////////////////////// // $whatsnew Max number of RecentChanges $maxshow = 60; // $whatsdeleted Max number of RecentDeleted // (0 = Disabled) $maxshow_deleted = 60; ///////////////////////////////////////////////// // Page names can t be edit via PukiWiki $cantedit = array( $whatsnew, $whatsdeleted ); ///////////////////////////////////////////////// // HTTP Output Last-Modified header // $lastmod = 0; $lastmod = 1; ///////////////////////////////////////////////// // Date format $date_format = Y-m-d ; // Time format $time_format = H i s ; ///////////////////////////////////////////////// // Max number of RSS feed $rss_max = 15; ///////////////////////////////////////////////// // Backup related settings // Enable backup $do_backup = 1; // When a page had been removed, remove its backup too? $del_backup = 0; // Bacukp interval and generation $cycle = 0; // Wait N hours between backup (0 = no wait) $maxage = 50; // Stock latest N backups // NOTE $cycle x $maxage / 24 = Minimum days to lost your data // 3 x 120 / 24 = 15 // Splitter of backup data (NOTE Too dangerous to change) define( PKWK_SPLITTER , ); ///////////////////////////////////////////////// // Command execution per update define( PKWK_UPDATE_EXEC , ); // Sample Namazu (Search engine) //$target = /var/www/wiki/ ; //$mknmz = /usr/bin/mknmz ; //$output_dir = /var/lib/namazu/index/ ; //define( PKWK_UPDATE_EXEC , //$mknmz . --media-type=text/pukiwiki . // -O . $output_dir . -L ja -c -K . $target); ///////////////////////////////////////////////// // HTTP proxy setting (for TrackBack etc) // Use HTTP proxy server to get remote data $use_proxy = 0; $proxy_host = proxy.example.com ; $proxy_port = 8080; // Do Basic authentication $need_proxy_auth = 0; $proxy_auth_user = username ; $proxy_auth_pass = password ; // Hosts that proxy server will not be needed $no_proxy = array( localhost ,// localhost 127.0.0.0/8 ,// loopback // 10.0.0.0/8 // private class A // 172.16.0.0/12 // private class B // 192.168.0.0/16 // private class C // no-proxy.com , ); //////////////////////////////////////////////// // Mail related settings // Send mail per update of pages $notify = 0; // Send diff only $notify_diff_only = 1; // SMTP server (Windows only. Usually specified at php.ini) $smtp_server = localhost ; // Mail recipient (To ) and sender (From ) $notify_to = to@example.com ;// To $notify_from = from@example.com ;// From // Subject ($page = Page name wll be replaced) $notify_subject = [PukiWiki] $page ; // Mail header // NOTE Multiple items must be divided by "\r\n", not "\n". $notify_header = ; ///////////////////////////////////////////////// // Mail POP / APOP Before SMTP // Do POP/APOP authentication before send mail $smtp_auth = 0; $pop_server = localhost ; $pop_port = 110; $pop_userid = ; $pop_passwd = ; // Use APOP instead of POP (If server uses) // Default = Auto (Use APOP if possible) // 1 = Always use APOP // 0 = Always use POP // $pop_auth_use_apop = 1; ///////////////////////////////////////////////// // Ignore list // Regex of ignore pages $non_list = ^\ ; // Search ignored pages $search_non_list = 1; ///////////////////////////////////////////////// // Template setting $auto_template_func = 1; $auto_template_rules = array( ((.+)\/([^\/]+)) = \2/template ); ///////////////////////////////////////////////// // Automatically add fixed heading anchor $fixed_heading_anchor = 1; ///////////////////////////////////////////////// // 見出しごとの編集を可能にする // (固有のアンカーが挿入されている見出し行にのみ有効) $fixed_heading_anchor_edit = 1; ///////////////////////////////////////////////// // Remove the first spaces from Preformatted text $preformat_ltrim = 1; ///////////////////////////////////////////////// // Convert linebreaks into br / $line_break = 0; ///////////////////////////////////////////////// // Use date-time rules (See rules.ini.php) $usedatetime = 1; ///////////////////////////////////////////////// // User-Agent settings // // If you want to ignore embedded browsers for rich-content-wikisite, // remove (or comment-out) all keitai settings. // // If you want to to ignore desktop-PC browsers for simple wikisite, // copy keitai.ini.php to default.ini.php and customize it. $agents = array( // pattern A regular-expression that matches device(browser) s name and version // profile A group of browsers // Embedded browsers (Rich-clients for PukiWiki) // Windows CE (Microsoft(R) Internet Explorer 5.5 for Windows(R) CE) // Sample "Mozilla/4.0 (compatible; MSIE 5.5; Windows CE; sigmarion3)" (sigmarion, Hand-held PC) array( pattern = #\b(? MSIE [5-9]).*\b(Windows CE)\b# , profile = default ), // ACCESS "NetFront" / "Compact NetFront" and thier OEM, expects to be "Mozilla/4.0" // Sample "Mozilla/4.0 (PS2; PlayStation BB Navigator 1.0) NetFront/3.0" (PlayStation BB Navigator, for SONY PlayStation 2) // Sample "Mozilla/4.0 (PDA; PalmOS/sony/model crdb/Revision 1.1.19) NetFront/3.0" (SONY Clie series) // Sample "Mozilla/4.0 (PDA; SL-A300/1.0,Embedix/Qtopia/1.1.0) NetFront/3.0" (SHARP Zaurus) array( pattern = #^(? Mozilla/4).*\b(NetFront)/([0-9\.]+)# , profile = default ), // Embedded browsers (Non-rich) // Windows CE (the others) // Sample "Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; 240x320 )" (GFORT, NTT DoCoMo) array( pattern = #\b(Windows CE)\b# , profile = keitai ), // ACCESS "NetFront" / "Compact NetFront" and thier OEM // Sample "Mozilla/3.0 (AveFront/2.6)" ("SUNTAC OnlineStation", USB-Modem for PlayStation 2) // Sample "Mozilla/3.0(DDIPOCKET;JRC/AH-J3001V,AH-J3002V/1.0/0100/c50)CNF/2.0" (DDI Pocket AirH" Phone by JRC) array( pattern = #\b(NetFront)/([0-9\.]+)# , profile = keitai ), array( pattern = #\b(CNF)/([0-9\.]+)# , profile = keitai ), array( pattern = #\b(AveFront)/([0-9\.]+)# , profile = keitai ), array( pattern = #\b(AVE-Front)/([0-9\.]+)# , profile = keitai ), // The same? // NTT-DoCoMo, i-mode (embeded Compact NetFront) and FOMA (embedded NetFront) phones // Sample "DoCoMo/1.0/F501i", "DoCoMo/1.0/N504i/c10/TB/serXXXX" // c以降は可変 // Sample "DoCoMo/2.0 MST_v_SH2101V(c100;TB;W22H12;serXXXX;iccxxxx)" // ()の中は可変 array( pattern = #^(DoCoMo)/([0-9\.]+)# , profile = keitai ), // Vodafone s embedded browser // Sample "J-PHONE/2.0/J-T03"// 2.0は"ブラウザの"バージョン // Sample "J-PHONE/4.0/J-SH51/SNxxxx SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0" array( pattern = #^(J-PHONE)/([0-9\.]+)# , profile = keitai ), // Openwave(R) Mobile Browser (EZweb, WAP phone, etc) // Sample "OPWV-SDK/62K UP.Browser/6.2.0.5.136 (GUI) MMP/2.0" array( pattern = #\b(UP\.Browser)/([0-9\.]+)# , profile = keitai ), // Opera, dressing up as other embedded browsers // Sample "Mozilla/3.0(DDIPOCKET;KYOCERA/AH-K3001V/1.4.1.67.000000/0.1/C100) Opera 7.0" (Like CNF at keitai -mode) array( pattern = #\b(? DDIPOCKET|WILLCOM)\b.+\b(Opera) ([0-9\.]+)\b# , profile = keitai ), // Planetweb http //www.planetweb.com/ // Sample "Mozilla/3.0 (Planetweb/v1.07 Build 141; SPS JP)" ("EGBROWSER", Web browser for PlayStation 2) array( pattern = #\b(Planetweb)/v([0-9\.]+)# , profile = keitai ), // DreamPassport, Web browser for SEGA DreamCast // Sample "Mozilla/3.0 (DreamPassport/3.0)" array( pattern = #\b(DreamPassport)/([0-9\.]+)# , profile = keitai ), // Palm "Web Pro" http //www.palmone.com/us/support/accessories/webpro/ // Sample "Mozilla/4.76 [en] (PalmOS; U; WebPro)" array( pattern = #\b(WebPro)\b# , profile = keitai ), // ilinx "Palmscape" / "Xiino" http //www.ilinx.co.jp/ // Sample "Xiino/2.1SJ [ja] (v. 4.1; 153x130; c16/d)" array( pattern = #^(Palmscape)/([0-9\.]+)# , profile = keitai ), array( pattern = #^(Xiino)/([0-9\.]+)# , profile = keitai ), // SHARP PDA Browser (SHARP Zaurus) // Sample "sharp pda browser/6.1[ja](MI-E1/1.0) " array( pattern = #^(sharp [a-z]+ browser)/([0-9\.]+)# , profile = keitai ), // WebTV array( pattern = #^(WebTV)/([0-9\.]+)# , profile = keitai ), // Desktop-PC browsers // Opera (for desktop PC, not embedded) -- See BugTrack/743 for detail // NOTE Keep this pattern above MSIE and Mozilla // Sample "Opera/7.0 (OS; U)" (not disguise) // Sample "Mozilla/4.0 (compatible; MSIE 5.0; OS) Opera 6.0" (disguise) array( pattern = #\b(Opera)[/ ]([0-9\.]+)\b# , profile = default ), // MSIE Microsoft Internet Explorer (or something disguised as MSIE) // Sample "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" array( pattern = #\b(MSIE) ([0-9\.]+)\b# , profile = default ), // Mozilla Firefox // NOTE Keep this pattern above Mozilla // Sample "Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv 1.7) Gecko/20040803 Firefox/0.9.3" array( pattern = #\b(Firefox)/([0-9\.]+)\b# , profile = default ), // Loose default Including something Mozilla array( pattern = #^([a-zA-z0-9 ]+)/([0-9\.]+)\b# , profile = default ), array( pattern = #^# , profile = default ),// Sentinel ); ?